package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单对象 A_orders
 * 
 * @author 王家宁
 * @date 2024-09-02
 */
@TableName("A_orders")
public class AOrders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private Double orderAmount;

    /** 买单客户 */
    @Excel(name = "买单客户")
    private Long orderCustomer;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setOrderAmount(Double orderAmount)
    {
        this.orderAmount = orderAmount;
    }

    public Double getOrderAmount()
    {
        return orderAmount;
    }

    public void setOrderCustomer(Long orderCustomer) 
    {
        this.orderCustomer = orderCustomer;
    }

    public Long getOrderCustomer() 
    {
        return orderCustomer;
    }

    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderAmount", getOrderAmount())
            .append("createTime", getCreateTime())
            .append("orderCustomer", getOrderCustomer())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
